.. _Export Parametric Frequency Sweep from the GUI to the Python API: Export Parametric Frequency Sweep from the GUI to the Python API ################################################################## The Python API offers more flexibility for the advance usage of NeurEco. The functionality **Export NeurEco to Python** facilitates the initial transition from the usage of NeurEco with the GUI to its usage with the Python API. To create a Python script reproducing the main parts of the GUI project: * Go to the project and the model to be exported * Go to **Python/Export NeurEco to Python** in the menu bar of the GUI * Choose which parts of the project to export to a Python script. The features available for export: * **Training**: To export the Python **build** method with the setting panel parameters * **Evaluation**: To export the Python **evaluate** method for the selected data sets * **Metrics**: To export the Python **compute_error** method for all the models and selected data sets * **Export model**: To add to the created script the call to the Python **save** method * **Export FMI model**: To add to the created script the call to the Python **export_fmu** method * Select the destination where to save the script